package com.defysoft.waukids;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class First_F extends Fragment {
	View v;
	
	
	@Override
	public void onActivityResult(int requestCode, int resultCode, Intent data) {
		super.onActivityResult(requestCode, resultCode, data);
	}

	
	@Override
	public View onCreateView(LayoutInflater inflater,
			@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
		v=getActivity().getLayoutInflater().inflate(R.layout.activity_first__f, null);
		TextView tv = (TextView) v.findViewById(R.id.aff);
		tv.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				getActivity().startActivityForResult(new Intent(getActivity(), Two_A.class),
						1000);
			}
		});
		return v;
	}
}
